import loadjs from 'loadjs';
import base from './base';
import { GlobalUtil } from './pcPublic';

//加载公文的资源
const loadOdocResource = () => {
    const loadFn = () => {
        loadjs("/js/odoc/common/docUtil_mobile.js", () => {
            //    alert("加载公文的资源完成")
        });
    }
    loadFn();
}

//异步加载资源的总入口
export const loadResource = () => {
    loadOdocResource();
    GlobalUtil.loadCaculateResource();
}